import request from '@/utils/request'

// 获取用户积分
export function submitProblem (data)  {
  return request({
    url: '/submitProblem',
    method: 'post',
    data: data
  })
}
export function allProblemList (query) {
  return request({
    url: '/allProblemList',
    method: 'get',
    params: query
  })
}
